<center>
<table>
<div class="categories">
	#{list subCategories, as:'category'}
	#{if category_parity.equals("odd")} 
		<tr>
	#{/if}
	<td>
		<a href="@{EventManager.chooseCategory(category)}">
		<div class="category">
           <div class=${category.name}>
             <h4>${category}</h4>
             <div class="photo" style="height:140px;"></div>
           </div>    
         </div>
         </a>
    </td>
    #{if category_parity.equals("even")} 
		</tr>
	#{/if}
	#{/list}
</div>
</table>
</center>